package com.geper.pattern.composite;

/**
 * @author: lsy
 * @date: 2020-03-09 20:20
 * @description: RootNode 抽象根节点
 */
public abstract class RootNode {
    protected String name;

    public RootNode(String name){
        this.name = name;
    }
    public abstract String show(int level);
}
